/**
 * @author Andrey Anisimov <hercules@inbox.ru>
 */

import core.effect.easing.None;

class Strong extends None {

    this.easeIn = function (t, b, c, d) {
        return c * (t /= d) * t * t * t * t + b;
    };

    this.easeOut = function (t, b, c, d) {
        return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
    };

    this.easeInOut = function (t, b, c, d) {
        if ((t /= d / 2) < 1) {
            return c / 2 * t * t * t * t * t + b;
        } else {
            return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;
        }
    };
}